//切换页面
for(var k=0;k<$(".change").length;k++){
    $(".change").eq(k).click(function(){
        var index = $(".change").index(this)
        console.log(index)
        $(".change").eq(index).addClass("active")
        $(".change").eq(index).siblings().removeClass("active");
        if(index==0){
            $(".qiehuan").attr("src","house.jsp")
        }else if(index==1){
            $(".qiehuan").attr("src","tenant.jsp")
        }else if(index==2){
        	$(".qiehuan").attr("src","contract.jsp")
        }else if(index==3){
        	$(".qiehuan").attr("src","repair.jsp")
        }else if(index==4){
        	$(".qiehuan").attr("src","logistics.jsp")
        }else if(index==5){
        	$(".qiehuan").attr("src","flatplay.jsp")
        }
    })
}

